import { OpenlayersRoutes } from './openlayers/router';

export default [
  //桌面
  {
    path: '/desktop',
    name: 'Desktop',
    component: () => import(/* webpackChunkName: "desktop" */'@/views/common/desktop/index.vue'),
  },
  // Openlayers
  {
    path: 'vue-openlayers',
    name: 'vue-openlayers',
    component: () => import(/* webpackChunkName: "vue-openlayers" */'@/views/openlayers/index.vue'),
    meta: {
      SideBar: true,
      url: 'vue-openlayers'
    },
    children: OpenlayersRoutes
  },
  // 地图
  {
    path: 'openlayers-map',
    name: 'openlayers-map',
    component: () => import(/* webpackChunkName: "openlayers-map" */'@/views/ol-map/index.vue'),
  },
  // 时空大数据
  {
    path: 'space-time',
    name: 'space-time',
    component: () => import(/* webpackChunkName: "openlayers-map" */'@/views/space-time/index.vue'),
  }
];

